using Microsoft.AspNetCore.Mvc;

namespace ERP.Web.Controllers.ProductionSystem
{
    /// <summary>
    /// Controller for serving Customer management UI views.
    /// </summary>
    [Route("Customer")]
    public class CustomerViewController : Controller
    {
        /// <summary>
        /// Returns the main view for customer management.
        /// </summary>
        [HttpGet]
        [Route("CustomerQuery")]
        public IActionResult CustomerQuery()
        {
            // Explicitly providing the view path to avoid ambiguity.
            return View("~/Views/Customer/CustomerQuery.cshtml");
        }
    }
} 